package com.uaniheng.util.matcher;

/**
 * @author HC
 * 单独的 标签 操作符 值
 */
class BaseElement implements Element{

    /**
     * 可以是
     * BASE_STR, BASE_OPERATOR
     * @see ElementEnum
     */
    private final ElementEnum STATUS;

    public final String element;

    BaseElement(String element, ElementEnum status){
        this.element = element;
        this.STATUS = status;
    }

    @Override
    public String getValueStr(){
        return element;
    }

    @Override
    public ElementEnum getStatus() {
        return STATUS;
    }
}
